﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _8Group.MES.ISongService.WmOutsourceRecpt.DTO
{
    public class AddWmOutsourceRecptDTO
    {
        /// <summary>
        /// 入库单编号
        /// </summary>
        public string? RecptCode { get; set; }

        /// <summary>
        /// 入库单名称
        /// </summary>
        public string? RecptName { get; set; }

        /// <summary>
        /// 来料检验单ID
        /// </summary>
        public int? IqcId { get; set; }

        /// <summary>
        /// 来料检验单编号
        /// </summary>
        public string? IqcCode { get; set; }

        /// <summary>
        /// 外协工单ID
        /// </summary>
        public int? WorkorderId { get; set; }

        /// <summary>
        /// 外协工单编号
        /// </summary>
        public string? WorkorderCode { get; set; }

        /// <summary>
        /// 供应商ID
        /// </summary>
        public int? VendorId { get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        public string? VendorCode { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? VendorName { get; set; }

        /// <summary>
        /// 供应商简写
        /// </summary>
        public string? VendorNick { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int? WarehouseId { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string? WarehouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 库区ID
        /// </summary>
        public int? LocationId { get; set; }

        /// <summary>
        /// 库区编号
        /// </summary>
        public string? LocationCode { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        public string? LocationName { get; set; }

        /// <summary>
        /// 库位ID
        /// </summary>
        public int? AreaId { get; set; }

        /// <summary>
        /// 库位编号
        /// </summary>
        public string? AreaCode { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        public string? AreaName { get; set; }

        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime? RecptDate { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public string? Status { get; set; } = "PREPARE";

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }
}
